package com.yang.service.model.dto.post;

import com.zhy.base.service.model.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * Created by xin7k
 * Date: 2019/12/2
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@ApiModel
public class ShopPostDTO extends BaseDTO {


    @ApiModelProperty(value = "店铺描述", name = "shopDesc")
    private String shopDesc;

    @NotBlank(message = "所属人员不能为空")
    @ApiModelProperty(value = "所属人员", name = "ownerId")
    private String ownerId;

    @NotBlank(message = "店铺名不能为空")
    @ApiModelProperty(value = "店铺名", name = "shopName")
    private String shopName;

    @NotBlank(message = "店铺缩略图不能为空")
    @ApiModelProperty(value = "店铺缩略图", name = "shopImage")
    private String shopImage;


}
